﻿using System;
using System.Runtime.Serialization;

namespace HHMMS.FileServer
{
	/// <summary>
	/// 附件类型实体。
	/// </summary>
	public class AttachmentTypeInfo
	{
		/// <summary>
		/// 类型ID
		/// </summary>
		public string ID{ get; set;}

		/// <summary>
		/// 类型名称
		/// </summary>
		public string TypeName{ get; set;}

		/// <summary>
		/// 类型描述
		/// </summary>
		public string Description{ get; set;}

		/// <summary>
		/// 允许的附件类型
		/// </summary>
		public string AllowExt{ get; set;}

		/// <summary>
		/// 单个附件大小限制(KB)
		/// </summary>
		public decimal? MaxFileSize{ get; set;}

		/// <summary>
		/// 保存目录名称
		/// </summary>
		public string SaveDirName{ get; set;}

	}
}